#define _CRT_SECURE_NO_WARNINGS  1

#include<stdio.h>

int main()
{
	int i = 0;
	int n = 0;
	int max = 0;
	int arr[10] = {1,3,43,45,67,21,78,99,109,11};
	for (i = 0; i < 10; i++)
	{
		if (arr[i] < arr[i + 1])
			max = arr[i + 1];
	}
	printf("%d", max);
	return 0;
}
